package com.chinaums.fsp.sdk.request;

import com.chinaums.fsp.base.pgt.TransType;
import com.chinaums.fsp.sdk.base.RequestData;
import com.chinaums.fsp.sdk.base.ResponseDataWrapper;
import com.chinaums.fsp.sdk.pgt.params.WalletBindBankCardQueryRequest;
import com.chinaums.fsp.sdk.pgt.params.WalletBindBankCardQueryResponse;

public class WalletBindBankCardQueryTest extends BaseRequest{
	
	public void testWalletBindBankCardQueryRequest() throws Exception {
		
		PgtRequestFactory rf = FACTORY.factory();
		
		RequestData.Builder builder = this.createRequestDataBuilder();
		builder.setTransType(TransType.WALLET_BIND_BANK_CARD.getTransCode());
		
		WalletBindBankCardQueryRequest data = WalletBindBankCardQueryRequest.newBuilder()
																			.setWalletNo("801000000001398")//钱包号
																			.setCardAccNo("121905224063385129")//银行卡号
																			.build();
		rf.transType(TransType.WALLET_BIND_BANK_CARD.getTransCode())
		.responseClass(WalletBindBankCardQueryResponse.class)
		.data(data)
		;
		
		ResponseDataWrapper rdw = rf.post();
	
		this.print(rdw);
	}
}
